// 导入axios实例对象request
import request from '@/utils/request.js'

// 创建addCartAPI接口并抛出共享
export const addCartAPI = (goodsId, productId, number) => {
  return request.post('/cart/add', { goodsId, productId, number })
}
